class Solution:
    def addBinary(self, a: str, b: str) -> str:
        # ai = int(a, base=2)
        # bi = int(b, base=2)
        # ansi = ai + bi
        # if ansi == 0:
        #     return '0'
        # ans = ''
        # while ansi:
        #     ans = f'{ansi % 2}' + ans
        #     ansi //= 2
        # ans = bin(ai + bi)
        # return ans
        return bin(int(a, base=2) + int(b, base=2))[2:]


solve = Solution()
a0, b0 = "11", "1"

questions = [
    {
        'a': "11",
        'b': "1"
    }
]

for i, q in enumerate(questions):
    print(i)
    print(f'#{i}:', q)
    print(' ans:', solve.addBinary(q['a'], q['b']))
